package cm.wc;

import cm.wc.util.DateTimeUtil;

import java.time.LocalDate;

/**
 * @ClassName:lmt
 * @Author: 鹿建文
 * @Date: 2022/3/29  - 17:49
 * @Describe:
 */
public class lmt {


    public static void main(String[] args) {
        java.util.Date jud=  new java.util.Date();
        System.out.println(jud);
        System.out.println(jud.getTime());

        java.sql.Date jsd=new  java.sql.Date(jud.getTime());
        System.out.println(jsd);

        java.util.Date dd=jsd;
        System.out.println(dd);
        java.util.Date dd2=new  java.sql.Date(jud.getTime());
        System.out.println(dd2);

        LocalDate date = DateTimeUtil.toLocalDate(dd2);
        System.out.println(date);


    }
}
